<template>
  <div class="bottom_view">
    <div class="item" v-for="item in glassColors" :key="item.id">
      <div class="grid" :style="{ backgroundColor: item.color }"></div>
      <span>{{ item.value }}</span>
    </div>
  </div>
</template>

<script>
import { glassColors } from "@/config/glassColor";
export default {
  data() {
    return {
      glassColors,
    };
  },
};
</script>

<style lang="less" scoped>
.bottom_view {
  height: 30px;
  display: flex;
  align-items: center;
  padding: 0 5px;
  .item {
    display: flex;
    margin-right: 15px;
    align-items: center;
    .grid {
      width: 15px;
      height: 15px;
      margin-right: 5px;
      letter-spacing: 2px;
    }
  }
}
</style>